Integrand size = 32, antiderivative size = 464 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=-\frac {4 a b i (f h-e i)^2 x}{d f^3}+\frac {6 b^2 i (f h-e i)^2 x}{d f^3}+\frac {3 b^2 i^2 (f h-e i) (e+f x)^2}{4 d f^4}+\frac {2 b^2 i^3 (e+f x)^3}{27 d f^4}+\frac {b^2 (f h-e i)^3 \log ^2(e+f x)}{3 d f^4}-\frac {4 b^2 i (f h-e i)^2 (e+f x) \log (c (e+f x))}{d f^4}-\frac {2 b i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))}{d f^4}-\frac {3 b i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))}{2 d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {2 i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))^2}{d f^4}+\frac {i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))^2}{2 d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}+\frac {(f h-e i)^3 (a+b \log (c (e+f x)))^3}{3 b d f^4} \]
[Out]
Time = 0.65 (sec) , antiderivative size = 464, normalized size of antiderivative = 1.00, number of steps used = 24, number of rules used = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.469, Rules used = {2458, 12, 2388, 2339, 30, 2333, 2332, 2367, 2342, 2341, 2356, 45, 2372, 14, 2338} \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=\frac {i^2 (e+f x)^2 (f h-e i) (a+b \log (c (e+f x)))^2}{2 d f^4}-\frac {3 b i^2 (e+f x)^2 (f h-e i) (a+b \log (c (e+f x)))}{2 d f^4}+\frac {(f h-e i)^3 (a+b \log (c (e+f x)))^3}{3 b d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {2 i (e+f x) (f h-e i)^2 (a+b \log (c (e+f x)))^2}{d f^4}-\frac {2 b i (e+f x) (f h-e i)^2 (a+b \log (c (e+f x)))}{d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}-\frac {4 a b i x (f h-e i)^2}{d f^3}-\frac {4 b^2 i (e+f x) (f h-e i)^2 \log (c (e+f x))}{d f^4}+\frac {3 b^2 i^2 (e+f x)^2 (f h-e i)}{4 d f^4}+\frac {b^2 (f h-e i)^3 \log ^2(e+f x)}{3 d f^4}+\frac {2 b^2 i^3 (e+f x)^3}{27 d f^4}+\frac {6 b^2 i x (f h-e i)^2}{d f^3} \]
[In]
[Out]
Rule 12
Rule 14
Rule 30
Rule 45
Rule 2332
Rule 2333
Rule 2338
Rule 2339
Rule 2341
Rule 2342
Rule 2356
Rule 2367
Rule 2372
Rule 2388
Rule 2458
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^3 (a+b \log (c x))^2}{d x} \, dx,x,e+f x\right )}{f} \\ & = \frac {\text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^3 (a+b \log (c x))^2}{x} \, dx,x,e+f x\right )}{d f} \\ & = \frac {i \text {Subst}\left (\int \left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^2 (a+b \log (c x))^2 \, dx,x,e+f x\right )}{d f^2}+\frac {(f h-e i) \text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^2 (a+b \log (c x))^2}{x} \, dx,x,e+f x\right )}{d f^2} \\ & = \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}-\frac {(2 b) \text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right )^3 (a+b \log (c x))}{x} \, dx,x,e+f x\right )}{3 d f}+\frac {(i (f h-e i)) \text {Subst}\left (\int \left (\frac {f h-e i}{f}+\frac {i x}{f}\right ) (a+b \log (c x))^2 \, dx,x,e+f x\right )}{d f^3}+\frac {(f h-e i)^2 \text {Subst}\left (\int \frac {\left (\frac {f h-e i}{f}+\frac {i x}{f}\right ) (a+b \log (c x))^2}{x} \, dx,x,e+f x\right )}{d f^3} \\ & = -\frac {2 b i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))}{d f^4}-\frac {b i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))}{d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}+\frac {\left (2 b^2\right ) \text {Subst}\left (\int \frac {i x \left (18 f^2 h^2+9 f h i (-4 e+x)+i^2 \left (18 e^2-9 e x+2 x^2\right )\right )+6 (f h-e i)^3 \log (x)}{6 f^3 x} \, dx,x,e+f x\right )}{3 d f}+\frac {(i (f h-e i)) \text {Subst}\left (\int \left (\frac {(f h-e i) (a+b \log (c x))^2}{f}+\frac {i x (a+b \log (c x))^2}{f}\right ) \, dx,x,e+f x\right )}{d f^3}+\frac {\left (i (f h-e i)^2\right ) \text {Subst}\left (\int (a+b \log (c x))^2 \, dx,x,e+f x\right )}{d f^4}+\frac {(f h-e i)^3 \text {Subst}\left (\int \frac {(a+b \log (c x))^2}{x} \, dx,x,e+f x\right )}{d f^4} \\ & = -\frac {2 b i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))}{d f^4}-\frac {b i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))}{d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))^2}{d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}+\frac {b^2 \text {Subst}\left (\int \frac {i x \left (18 f^2 h^2+9 f h i (-4 e+x)+i^2 \left (18 e^2-9 e x+2 x^2\right )\right )+6 (f h-e i)^3 \log (x)}{x} \, dx,x,e+f x\right )}{9 d f^4}+\frac {\left (i^2 (f h-e i)\right ) \text {Subst}\left (\int x (a+b \log (c x))^2 \, dx,x,e+f x\right )}{d f^4}+\frac {\left (i (f h-e i)^2\right ) \text {Subst}\left (\int (a+b \log (c x))^2 \, dx,x,e+f x\right )}{d f^4}-\frac {\left (2 b i (f h-e i)^2\right ) \text {Subst}(\int (a+b \log (c x)) \, dx,x,e+f x)}{d f^4}+\frac {(f h-e i)^3 \text {Subst}\left (\int x^2 \, dx,x,a+b \log (c (e+f x))\right )}{b d f^4} \\ & = -\frac {2 a b i (f h-e i)^2 x}{d f^3}-\frac {2 b i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))}{d f^4}-\frac {b i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))}{d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {2 i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))^2}{d f^4}+\frac {i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))^2}{2 d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}+\frac {(f h-e i)^3 (a+b \log (c (e+f x)))^3}{3 b d f^4}+\frac {b^2 \text {Subst}\left (\int \left (i \left (18 (f h-e i)^2+9 i (f h-e i) x+2 i^2 x^2\right )+\frac {6 (f h-e i)^3 \log (x)}{x}\right ) \, dx,x,e+f x\right )}{9 d f^4}-\frac {\left (b i^2 (f h-e i)\right ) \text {Subst}(\int x (a+b \log (c x)) \, dx,x,e+f x)}{d f^4}-\frac {\left (2 b i (f h-e i)^2\right ) \text {Subst}(\int (a+b \log (c x)) \, dx,x,e+f x)}{d f^4}-\frac {\left (2 b^2 i (f h-e i)^2\right ) \text {Subst}(\int \log (c x) \, dx,x,e+f x)}{d f^4} \\ & = -\frac {4 a b i (f h-e i)^2 x}{d f^3}+\frac {2 b^2 i (f h-e i)^2 x}{d f^3}+\frac {b^2 i^2 (f h-e i) (e+f x)^2}{4 d f^4}-\frac {2 b^2 i (f h-e i)^2 (e+f x) \log (c (e+f x))}{d f^4}-\frac {2 b i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))}{d f^4}-\frac {3 b i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))}{2 d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {2 i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))^2}{d f^4}+\frac {i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))^2}{2 d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}+\frac {(f h-e i)^3 (a+b \log (c (e+f x)))^3}{3 b d f^4}+\frac {\left (b^2 i\right ) \text {Subst}\left (\int \left (18 (f h-e i)^2+9 i (f h-e i) x+2 i^2 x^2\right ) \, dx,x,e+f x\right )}{9 d f^4}-\frac {\left (2 b^2 i (f h-e i)^2\right ) \text {Subst}(\int \log (c x) \, dx,x,e+f x)}{d f^4}+\frac {\left (2 b^2 (f h-e i)^3\right ) \text {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,e+f x\right )}{3 d f^4} \\ & = -\frac {4 a b i (f h-e i)^2 x}{d f^3}+\frac {6 b^2 i (f h-e i)^2 x}{d f^3}+\frac {3 b^2 i^2 (f h-e i) (e+f x)^2}{4 d f^4}+\frac {2 b^2 i^3 (e+f x)^3}{27 d f^4}+\frac {b^2 (f h-e i)^3 \log ^2(e+f x)}{3 d f^4}-\frac {4 b^2 i (f h-e i)^2 (e+f x) \log (c (e+f x))}{d f^4}-\frac {2 b i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))}{d f^4}-\frac {3 b i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))}{2 d f^4}-\frac {2 b i^3 (e+f x)^3 (a+b \log (c (e+f x)))}{9 d f^4}-\frac {2 b (f h-e i)^3 \log (e+f x) (a+b \log (c (e+f x)))}{3 d f^4}+\frac {2 i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))^2}{d f^4}+\frac {i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))^2}{2 d f^4}+\frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{3 d f}+\frac {(f h-e i)^3 (a+b \log (c (e+f x)))^3}{3 b d f^4} \\ \end{align*}
Time = 0.21 (sec) , antiderivative size = 267, normalized size of antiderivative = 0.58 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=\frac {324 i (f h-e i)^2 (e+f x) (a+b \log (c (e+f x)))^2+162 i^2 (f h-e i) (e+f x)^2 (a+b \log (c (e+f x)))^2+36 i^3 (e+f x)^3 (a+b \log (c (e+f x)))^2+\frac {36 (f h-e i)^3 (a+b \log (c (e+f x)))^3}{b}-648 b i (f h-e i)^2 ((a-b) f x+b (e+f x) \log (c (e+f x)))+81 b i^2 (f h-e i) \left (b f x (2 e+f x)-2 (e+f x)^2 (a+b \log (c (e+f x)))\right )+8 b i^3 \left (b f x \left (3 e^2+3 e f x+f^2 x^2\right )-3 (e+f x)^3 (a+b \log (c (e+f x)))\right )}{108 d f^4} \]
[In]
[Out]
Time = 0.68 (sec) , antiderivative size = 721, normalized size of antiderivative = 1.55
method | result | size |
norman | \(\frac {b^{2} i \left (e^{2} i^{2}-3 e f h i +3 f^{2} h^{2}\right ) x \ln \left (c \left (f x +e \right )\right )^{2}}{d \,f^{3}}-\frac {\left (18 a^{2} e^{3} i^{3}-54 a^{2} e^{2} f h \,i^{2}+54 a^{2} e \,f^{2} h^{2} i -18 a^{2} f^{3} h^{3}-66 a b \,e^{3} i^{3}+162 a b \,e^{2} f h \,i^{2}-108 a b e \,f^{2} h^{2} i +85 b^{2} e^{3} i^{3}-189 b^{2} e^{2} f h \,i^{2}+108 b^{2} e \,f^{2} h^{2} i \right ) \ln \left (c \left (f x +e \right )\right )}{18 d \,f^{4}}-\frac {b \left (6 a \,e^{3} i^{3}-18 a \,e^{2} f h \,i^{2}+18 a e \,f^{2} h^{2} i -6 a \,f^{3} h^{3}-11 b \,e^{3} i^{3}+27 b \,e^{2} f h \,i^{2}-18 b e \,f^{2} h^{2} i \right ) \ln \left (c \left (f x +e \right )\right )^{2}}{6 d \,f^{4}}-\frac {b^{2} \left (e^{3} i^{3}-3 e^{2} f h \,i^{2}+3 e \,f^{2} h^{2} i -f^{3} h^{3}\right ) \ln \left (c \left (f x +e \right )\right )^{3}}{3 d \,f^{4}}+\frac {i \left (18 a^{2} e^{2} i^{2}-54 a^{2} e f h i +54 a^{2} f^{2} h^{2}-66 a b \,e^{2} i^{2}+162 a b e f h i -108 a b \,f^{2} h^{2}+85 b^{2} e^{2} i^{2}-189 b^{2} e f h i +108 b^{2} f^{2} h^{2}\right ) x}{18 d \,f^{3}}-\frac {i^{2} \left (18 a^{2} e i -54 a^{2} f h -30 a b e i +54 a b f h +19 b^{2} e i -27 b^{2} f h \right ) x^{2}}{36 d \,f^{2}}+\frac {i^{3} \left (9 a^{2}-6 a b +2 b^{2}\right ) x^{3}}{27 d f}+\frac {b^{2} i^{3} x^{3} \ln \left (c \left (f x +e \right )\right )^{2}}{3 d f}+\frac {b i \left (6 a \,e^{2} i^{2}-18 a e f h i +18 a \,f^{2} h^{2}-11 b \,e^{2} i^{2}+27 b e f h i -18 b \,f^{2} h^{2}\right ) x \ln \left (c \left (f x +e \right )\right )}{3 d \,f^{3}}-\frac {b \,i^{2} \left (6 a e i -18 a f h -5 b e i +9 b f h \right ) x^{2} \ln \left (c \left (f x +e \right )\right )}{6 d \,f^{2}}+\frac {2 b \,i^{3} \left (3 a -b \right ) x^{3} \ln \left (c \left (f x +e \right )\right )}{9 d f}-\frac {b^{2} i^{2} \left (e i -3 f h \right ) x^{2} \ln \left (c \left (f x +e \right )\right )^{2}}{2 d \,f^{2}}\) | \(721\) |
risch | \(-\frac {b \left (-2 b \,f^{3} i^{3} x^{3}+3 b e \,f^{2} i^{3} x^{2}-9 b \,f^{3} h \,i^{2} x^{2}-6 b \,e^{2} f \,i^{3} x +18 b e \,f^{2} h \,i^{2} x -18 b \,f^{3} h^{2} i x +6 a \,e^{3} i^{3}-18 a \,e^{2} f h \,i^{2}+18 a e \,f^{2} h^{2} i -6 a \,f^{3} h^{3}-11 b \,e^{3} i^{3}+27 b \,e^{2} f h \,i^{2}-18 b e \,f^{2} h^{2} i \right ) \ln \left (c \left (f x +e \right )\right )^{2}}{6 d \,f^{4}}+\frac {b i x \left (12 a \,f^{2} i^{2} x^{2}-4 b \,f^{2} i^{2} x^{2}-18 a e f \,i^{2} x +54 a \,f^{2} h i x +15 b e f \,i^{2} x -27 b \,f^{2} h i x +36 a \,e^{2} i^{2}-108 a e f h i +108 a \,f^{2} h^{2}-66 b \,e^{2} i^{2}+162 b e f h i -108 b \,f^{2} h^{2}\right ) \ln \left (c \left (f x +e \right )\right )}{18 d \,f^{3}}+\frac {9 a b e h \,i^{2} x}{d \,f^{2}}-\frac {9 \ln \left (f x +e \right ) a b \,e^{2} h \,i^{2}}{d \,f^{3}}+\frac {6 \ln \left (f x +e \right ) a b e \,h^{2} i}{d \,f^{2}}+\frac {3 \ln \left (f x +e \right ) a^{2} e^{2} h \,i^{2}}{d \,f^{3}}-\frac {3 \ln \left (f x +e \right ) a^{2} e \,h^{2} i}{d \,f^{2}}+\frac {11 \ln \left (f x +e \right ) a b \,e^{3} i^{3}}{3 d \,f^{4}}+\frac {21 \ln \left (f x +e \right ) b^{2} e^{2} h \,i^{2}}{2 d \,f^{3}}-\frac {6 \ln \left (f x +e \right ) b^{2} e \,h^{2} i}{d \,f^{2}}+\frac {b^{2} \ln \left (c \left (f x +e \right )\right )^{3} h^{3}}{3 d f}+\frac {\ln \left (f x +e \right ) a^{2} h^{3}}{d f}+\frac {b^{2} \ln \left (c \left (f x +e \right )\right )^{3} e^{2} h \,i^{2}}{d \,f^{3}}-\frac {b^{2} \ln \left (c \left (f x +e \right )\right )^{3} e \,h^{2} i}{d \,f^{2}}+\frac {5 a b e \,i^{3} x^{2}}{6 d \,f^{2}}-\frac {3 a b h \,i^{2} x^{2}}{2 d f}-\frac {3 a^{2} e h \,i^{2} x}{d \,f^{2}}-\frac {11 a b \,e^{2} i^{3} x}{3 d \,f^{3}}-\frac {6 a b \,h^{2} i x}{d f}-\frac {21 b^{2} e h \,i^{2} x}{2 d \,f^{2}}-\frac {b^{2} \ln \left (c \left (f x +e \right )\right )^{3} e^{3} i^{3}}{3 d \,f^{4}}+\frac {a^{2} i^{3} x^{3}}{3 d f}-\frac {2 a b \,i^{3} x^{3}}{9 d f}-\frac {a^{2} e \,i^{3} x^{2}}{2 d \,f^{2}}+\frac {3 a^{2} h \,i^{2} x^{2}}{2 d f}-\frac {19 b^{2} e \,i^{3} x^{2}}{36 d \,f^{2}}+\frac {3 b^{2} h \,i^{2} x^{2}}{4 d f}+\frac {a^{2} e^{2} i^{3} x}{d \,f^{3}}+\frac {3 a^{2} h^{2} i x}{d f}+\frac {85 b^{2} e^{2} i^{3} x}{18 d \,f^{3}}+\frac {6 b^{2} h^{2} i x}{d f}-\frac {\ln \left (f x +e \right ) a^{2} e^{3} i^{3}}{d \,f^{4}}-\frac {85 \ln \left (f x +e \right ) b^{2} e^{3} i^{3}}{18 d \,f^{4}}+\frac {2 b^{2} i^{3} x^{3}}{27 d f}\) | \(927\) |
parts | \(\frac {a^{2} \left (\frac {i \left (\frac {1}{3} f^{2} i^{2} x^{3}-\frac {1}{2} e f \,i^{2} x^{2}+\frac {3}{2} f^{2} h i \,x^{2}+x \,e^{2} i^{2}-3 x e f h i +3 x \,f^{2} h^{2}\right )}{f^{3}}+\frac {\left (-e^{3} i^{3}+3 e^{2} f h \,i^{2}-3 e \,f^{2} h^{2} i +f^{3} h^{3}\right ) \ln \left (f x +e \right )}{f^{4}}\right )}{d}+\frac {b^{2} \left (-\frac {c \,e^{3} i^{3} \ln \left (c f x +c e \right )^{3}}{3 f^{3}}+\frac {c \,e^{2} h \,i^{2} \ln \left (c f x +c e \right )^{3}}{f^{2}}-\frac {c e \,h^{2} i \ln \left (c f x +c e \right )^{3}}{f}+\frac {c \,h^{3} \ln \left (c f x +c e \right )^{3}}{3}+\frac {3 e^{2} i^{3} \left (\left (c f x +c e \right ) \ln \left (c f x +c e \right )^{2}-2 \left (c f x +c e \right ) \ln \left (c f x +c e \right )+2 c f x +2 c e \right )}{f^{3}}-\frac {6 e h \,i^{2} \left (\left (c f x +c e \right ) \ln \left (c f x +c e \right )^{2}-2 \left (c f x +c e \right ) \ln \left (c f x +c e \right )+2 c f x +2 c e \right )}{f^{2}}+\frac {3 h^{2} i \left (\left (c f x +c e \right ) \ln \left (c f x +c e \right )^{2}-2 \left (c f x +c e \right ) \ln \left (c f x +c e \right )+2 c f x +2 c e \right )}{f}-\frac {3 e \,i^{3} \left (\frac {\left (c f x +c e \right )^{2} \ln \left (c f x +c e \right )^{2}}{2}-\frac {\left (c f x +c e \right )^{2} \ln \left (c f x +c e \right )}{2}+\frac {\left (c f x +c e \right )^{2}}{4}\right )}{c \,f^{3}}+\frac {3 h \,i^{2} \left (\frac {\left (c f x +c e \right )^{2} \ln \left (c f x +c e \right )^{2}}{2}-\frac {\left (c f x +c e \right )^{2} \ln \left (c f x +c e \right )}{2}+\frac {\left (c f x +c e \right )^{2}}{4}\right )}{c \,f^{2}}+\frac {i^{3} \left (\frac {\left (c f x +c e \right )^{3} \ln \left (c f x +c e \right )^{2}}{3}-\frac {2 \left (c f x +c e \right )^{3} \ln \left (c f x +c e \right )}{9}+\frac {2 \left (c f x +c e \right )^{3}}{27}\right )}{c^{2} f^{3}}\right )}{d c f}+\frac {2 a b \left (-\frac {c \,e^{3} i^{3} \ln \left (c f x +c e \right )^{2}}{2 f^{3}}+\frac {3 c \,e^{2} h \,i^{2} \ln \left (c f x +c e \right )^{2}}{2 f^{2}}-\frac {3 c e \,h^{2} i \ln \left (c f x +c e \right )^{2}}{2 f}+\frac {c \,h^{3} \ln \left (c f x +c e \right )^{2}}{2}+\frac {3 e^{2} i^{3} \left (\left (c f x +c e \right ) \ln \left (c f x +c e \right )-c f x -c e \right )}{f^{3}}-\frac {6 e h \,i^{2} \left (\left (c f x +c e \right ) \ln \left (c f x +c e \right )-c f x -c e \right )}{f^{2}}+\frac {3 h^{2} i \left (\left (c f x +c e \right ) \ln \left (c f x +c e \right )-c f x -c e \right )}{f}-\frac {3 e \,i^{3} \left (\frac {\left (c f x +c e \right )^{2} \ln \left (c f x +c e \right )}{2}-\frac {\left (c f x +c e \right )^{2}}{4}\right )}{c \,f^{3}}+\frac {3 h \,i^{2} \left (\frac {\left (c f x +c e \right )^{2} \ln \left (c f x +c e \right )}{2}-\frac {\left (c f x +c e \right )^{2}}{4}\right )}{c \,f^{2}}+\frac {i^{3} \left (\frac {\left (c f x +c e \right )^{3} \ln \left (c f x +c e \right )}{3}-\frac {\left (c f x +c e \right )^{3}}{9}\right )}{c^{2} f^{3}}\right )}{d c f}\) | \(948\) |
derivativedivides | \(\text {Expression too large to display}\) | \(1178\) |
default | \(\text {Expression too large to display}\) | \(1178\) |
parallelrisch | \(\text {Expression too large to display}\) | \(1204\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 606, normalized size of antiderivative = 1.31 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=\frac {4 \, {\left (9 \, a^{2} - 6 \, a b + 2 \, b^{2}\right )} f^{3} i^{3} x^{3} + 36 \, {\left (b^{2} f^{3} h^{3} - 3 \, b^{2} e f^{2} h^{2} i + 3 \, b^{2} e^{2} f h i^{2} - b^{2} e^{3} i^{3}\right )} \log \left (c f x + c e\right )^{3} + 3 \, {\left (27 \, {\left (2 \, a^{2} - 2 \, a b + b^{2}\right )} f^{3} h i^{2} - {\left (18 \, a^{2} - 30 \, a b + 19 \, b^{2}\right )} e f^{2} i^{3}\right )} x^{2} + 18 \, {\left (2 \, b^{2} f^{3} i^{3} x^{3} + 6 \, a b f^{3} h^{3} - 18 \, {\left (a b - b^{2}\right )} e f^{2} h^{2} i + 9 \, {\left (2 \, a b - 3 \, b^{2}\right )} e^{2} f h i^{2} - {\left (6 \, a b - 11 \, b^{2}\right )} e^{3} i^{3} + 3 \, {\left (3 \, b^{2} f^{3} h i^{2} - b^{2} e f^{2} i^{3}\right )} x^{2} + 6 \, {\left (3 \, b^{2} f^{3} h^{2} i - 3 \, b^{2} e f^{2} h i^{2} + b^{2} e^{2} f i^{3}\right )} x\right )} \log \left (c f x + c e\right )^{2} + 6 \, {\left (54 \, {\left (a^{2} - 2 \, a b + 2 \, b^{2}\right )} f^{3} h^{2} i - 27 \, {\left (2 \, a^{2} - 6 \, a b + 7 \, b^{2}\right )} e f^{2} h i^{2} + {\left (18 \, a^{2} - 66 \, a b + 85 \, b^{2}\right )} e^{2} f i^{3}\right )} x + 6 \, {\left (4 \, {\left (3 \, a b - b^{2}\right )} f^{3} i^{3} x^{3} + 18 \, a^{2} f^{3} h^{3} - 54 \, {\left (a^{2} - 2 \, a b + 2 \, b^{2}\right )} e f^{2} h^{2} i + 27 \, {\left (2 \, a^{2} - 6 \, a b + 7 \, b^{2}\right )} e^{2} f h i^{2} - {\left (18 \, a^{2} - 66 \, a b + 85 \, b^{2}\right )} e^{3} i^{3} + 3 \, {\left (9 \, {\left (2 \, a b - b^{2}\right )} f^{3} h i^{2} - {\left (6 \, a b - 5 \, b^{2}\right )} e f^{2} i^{3}\right )} x^{2} + 6 \, {\left (18 \, {\left (a b - b^{2}\right )} f^{3} h^{2} i - 9 \, {\left (2 \, a b - 3 \, b^{2}\right )} e f^{2} h i^{2} + {\left (6 \, a b - 11 \, b^{2}\right )} e^{2} f i^{3}\right )} x\right )} \log \left (c f x + c e\right )}{108 \, d f^{4}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 918 vs. \(2 (428) = 856\).
Time = 1.10 (sec) , antiderivative size = 918, normalized size of antiderivative = 1.98 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=x^{3} \left (\frac {a^{2} i^{3}}{3 d f} - \frac {2 a b i^{3}}{9 d f} + \frac {2 b^{2} i^{3}}{27 d f}\right ) + x^{2} \left (- \frac {a^{2} e i^{3}}{2 d f^{2}} + \frac {3 a^{2} h i^{2}}{2 d f} + \frac {5 a b e i^{3}}{6 d f^{2}} - \frac {3 a b h i^{2}}{2 d f} - \frac {19 b^{2} e i^{3}}{36 d f^{2}} + \frac {3 b^{2} h i^{2}}{4 d f}\right ) + x \left (\frac {a^{2} e^{2} i^{3}}{d f^{3}} - \frac {3 a^{2} e h i^{2}}{d f^{2}} + \frac {3 a^{2} h^{2} i}{d f} - \frac {11 a b e^{2} i^{3}}{3 d f^{3}} + \frac {9 a b e h i^{2}}{d f^{2}} - \frac {6 a b h^{2} i}{d f} + \frac {85 b^{2} e^{2} i^{3}}{18 d f^{3}} - \frac {21 b^{2} e h i^{2}}{2 d f^{2}} + \frac {6 b^{2} h^{2} i}{d f}\right ) + \frac {\left (36 a b e^{2} i^{3} x - 108 a b e f h i^{2} x - 18 a b e f i^{3} x^{2} + 108 a b f^{2} h^{2} i x + 54 a b f^{2} h i^{2} x^{2} + 12 a b f^{2} i^{3} x^{3} - 66 b^{2} e^{2} i^{3} x + 162 b^{2} e f h i^{2} x + 15 b^{2} e f i^{3} x^{2} - 108 b^{2} f^{2} h^{2} i x - 27 b^{2} f^{2} h i^{2} x^{2} - 4 b^{2} f^{2} i^{3} x^{3}\right ) \log {\left (c \left (e + f x\right ) \right )}}{18 d f^{3}} + \frac {\left (- b^{2} e^{3} i^{3} + 3 b^{2} e^{2} f h i^{2} - 3 b^{2} e f^{2} h^{2} i + b^{2} f^{3} h^{3}\right ) \log {\left (c \left (e + f x\right ) \right )}^{3}}{3 d f^{4}} - \frac {\left (18 a^{2} e^{3} i^{3} - 54 a^{2} e^{2} f h i^{2} + 54 a^{2} e f^{2} h^{2} i - 18 a^{2} f^{3} h^{3} - 66 a b e^{3} i^{3} + 162 a b e^{2} f h i^{2} - 108 a b e f^{2} h^{2} i + 85 b^{2} e^{3} i^{3} - 189 b^{2} e^{2} f h i^{2} + 108 b^{2} e f^{2} h^{2} i\right ) \log {\left (e + f x \right )}}{18 d f^{4}} + \frac {\left (- 6 a b e^{3} i^{3} + 18 a b e^{2} f h i^{2} - 18 a b e f^{2} h^{2} i + 6 a b f^{3} h^{3} + 11 b^{2} e^{3} i^{3} - 27 b^{2} e^{2} f h i^{2} + 6 b^{2} e^{2} f i^{3} x + 18 b^{2} e f^{2} h^{2} i - 18 b^{2} e f^{2} h i^{2} x - 3 b^{2} e f^{2} i^{3} x^{2} + 18 b^{2} f^{3} h^{2} i x + 9 b^{2} f^{3} h i^{2} x^{2} + 2 b^{2} f^{3} i^{3} x^{3}\right ) \log {\left (c \left (e + f x\right ) \right )}^{2}}{6 d f^{4}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 964 vs. \(2 (446) = 892\).
Time = 0.28 (sec) , antiderivative size = 964, normalized size of antiderivative = 2.08 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=6 \, a b h^{2} i {\left (\frac {x}{d f} - \frac {e \log \left (f x + e\right )}{d f^{2}}\right )} \log \left (c f x + c e\right ) - \frac {1}{3} \, a b i^{3} {\left (\frac {6 \, e^{3} \log \left (f x + e\right )}{d f^{4}} - \frac {2 \, f^{2} x^{3} - 3 \, e f x^{2} + 6 \, e^{2} x}{d f^{3}}\right )} \log \left (c f x + c e\right ) + 3 \, a b h i^{2} {\left (\frac {2 \, e^{2} \log \left (f x + e\right )}{d f^{3}} + \frac {f x^{2} - 2 \, e x}{d f^{2}}\right )} \log \left (c f x + c e\right ) - a b h^{3} {\left (\frac {2 \, \log \left (c f x + c e\right ) \log \left (d f x + d e\right )}{d f} - \frac {\log \left (f x + e\right )^{2} + 2 \, \log \left (f x + e\right ) \log \left (c\right )}{d f}\right )} + 3 \, a^{2} h^{2} i {\left (\frac {x}{d f} - \frac {e \log \left (f x + e\right )}{d f^{2}}\right )} - \frac {1}{6} \, a^{2} i^{3} {\left (\frac {6 \, e^{3} \log \left (f x + e\right )}{d f^{4}} - \frac {2 \, f^{2} x^{3} - 3 \, e f x^{2} + 6 \, e^{2} x}{d f^{3}}\right )} + \frac {3}{2} \, a^{2} h i^{2} {\left (\frac {2 \, e^{2} \log \left (f x + e\right )}{d f^{3}} + \frac {f x^{2} - 2 \, e x}{d f^{2}}\right )} + \frac {b^{2} h^{3} \log \left (c f x + c e\right )^{3}}{3 \, d f} + \frac {2 \, a b h^{3} \log \left (c f x + c e\right ) \log \left (d f x + d e\right )}{d f} + \frac {a^{2} h^{3} \log \left (d f x + d e\right )}{d f} + \frac {3 \, {\left (e \log \left (f x + e\right )^{2} - 2 \, f x + 2 \, e \log \left (f x + e\right )\right )} a b h^{2} i}{d f^{2}} - \frac {3 \, {\left (f^{2} x^{2} + 2 \, e^{2} \log \left (f x + e\right )^{2} - 6 \, e f x + 6 \, e^{2} \log \left (f x + e\right )\right )} a b h i^{2}}{2 \, d f^{3}} - \frac {{\left (c^{2} e \log \left (c f x + c e\right )^{3} - 3 \, {\left (c f x + c e\right )} {\left (c \log \left (c f x + c e\right )^{2} - 2 \, c \log \left (c f x + c e\right ) + 2 \, c\right )}\right )} b^{2} h^{2} i}{c^{2} d f^{2}} - \frac {{\left (4 \, f^{3} x^{3} - 15 \, e f^{2} x^{2} - 18 \, e^{3} \log \left (f x + e\right )^{2} + 66 \, e^{2} f x - 66 \, e^{3} \log \left (f x + e\right )\right )} a b i^{3}}{18 \, d f^{4}} + \frac {{\left (4 \, c^{3} e^{2} \log \left (c f x + c e\right )^{3} + 3 \, {\left (c f x + c e\right )}^{2} {\left (2 \, c \log \left (c f x + c e\right )^{2} - 2 \, c \log \left (c f x + c e\right ) + c\right )} - 24 \, {\left (c^{2} e \log \left (c f x + c e\right )^{2} - 2 \, c^{2} e \log \left (c f x + c e\right ) + 2 \, c^{2} e\right )} {\left (c f x + c e\right )}\right )} b^{2} h i^{2}}{4 \, c^{3} d f^{3}} - \frac {{\left (36 \, c^{4} e^{3} \log \left (c f x + c e\right )^{3} - 4 \, {\left (c f x + c e\right )}^{3} {\left (9 \, c \log \left (c f x + c e\right )^{2} - 6 \, c \log \left (c f x + c e\right ) + 2 \, c\right )} + 81 \, {\left (2 \, c^{2} e \log \left (c f x + c e\right )^{2} - 2 \, c^{2} e \log \left (c f x + c e\right ) + c^{2} e\right )} {\left (c f x + c e\right )}^{2} - 324 \, {\left (c^{3} e^{2} \log \left (c f x + c e\right )^{2} - 2 \, c^{3} e^{2} \log \left (c f x + c e\right ) + 2 \, c^{3} e^{2}\right )} {\left (c f x + c e\right )}\right )} b^{2} i^{3}}{108 \, c^{4} d f^{4}} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 769, normalized size of antiderivative = 1.66 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=\frac {1}{6} \, {\left (\frac {2 \, b^{2} i^{3} x^{3}}{d f} + \frac {3 \, {\left (3 \, b^{2} f h i^{2} - b^{2} e i^{3}\right )} x^{2}}{d f^{2}} + \frac {6 \, {\left (3 \, b^{2} f^{2} h^{2} i - 3 \, b^{2} e f h i^{2} + b^{2} e^{2} i^{3}\right )} x}{d f^{3}} + \frac {6 \, a b f^{3} h^{3} - 18 \, a b e f^{2} h^{2} i + 18 \, b^{2} e f^{2} h^{2} i + 18 \, a b e^{2} f h i^{2} - 27 \, b^{2} e^{2} f h i^{2} - 6 \, a b e^{3} i^{3} + 11 \, b^{2} e^{3} i^{3}}{d f^{4}}\right )} \log \left (c f x + c e\right )^{2} + \frac {{\left (9 \, a^{2} i^{3} - 6 \, a b i^{3} + 2 \, b^{2} i^{3}\right )} x^{3}}{27 \, d f} + \frac {1}{18} \, {\left (\frac {4 \, {\left (3 \, a b i^{3} - b^{2} i^{3}\right )} x^{3}}{d f} + \frac {3 \, {\left (18 \, a b f h i^{2} - 9 \, b^{2} f h i^{2} - 6 \, a b e i^{3} + 5 \, b^{2} e i^{3}\right )} x^{2}}{d f^{2}} + \frac {6 \, {\left (18 \, a b f^{2} h^{2} i - 18 \, b^{2} f^{2} h^{2} i - 18 \, a b e f h i^{2} + 27 \, b^{2} e f h i^{2} + 6 \, a b e^{2} i^{3} - 11 \, b^{2} e^{2} i^{3}\right )} x}{d f^{3}}\right )} \log \left (c f x + c e\right ) + \frac {{\left (54 \, a^{2} f h i^{2} - 54 \, a b f h i^{2} + 27 \, b^{2} f h i^{2} - 18 \, a^{2} e i^{3} + 30 \, a b e i^{3} - 19 \, b^{2} e i^{3}\right )} x^{2}}{36 \, d f^{2}} + \frac {{\left (b^{2} f^{3} h^{3} - 3 \, b^{2} e f^{2} h^{2} i + 3 \, b^{2} e^{2} f h i^{2} - b^{2} e^{3} i^{3}\right )} \log \left (c f x + c e\right )^{3}}{3 \, d f^{4}} + \frac {{\left (54 \, a^{2} f^{2} h^{2} i - 108 \, a b f^{2} h^{2} i + 108 \, b^{2} f^{2} h^{2} i - 54 \, a^{2} e f h i^{2} + 162 \, a b e f h i^{2} - 189 \, b^{2} e f h i^{2} + 18 \, a^{2} e^{2} i^{3} - 66 \, a b e^{2} i^{3} + 85 \, b^{2} e^{2} i^{3}\right )} x}{18 \, d f^{3}} + \frac {{\left (18 \, a^{2} f^{3} h^{3} - 54 \, a^{2} e f^{2} h^{2} i + 108 \, a b e f^{2} h^{2} i - 108 \, b^{2} e f^{2} h^{2} i + 54 \, a^{2} e^{2} f h i^{2} - 162 \, a b e^{2} f h i^{2} + 189 \, b^{2} e^{2} f h i^{2} - 18 \, a^{2} e^{3} i^{3} + 66 \, a b e^{3} i^{3} - 85 \, b^{2} e^{3} i^{3}\right )} \log \left (f x + e\right )}{18 \, d f^{4}} \]
[In]
[Out]
Time = 1.83 (sec) , antiderivative size = 803, normalized size of antiderivative = 1.73 \[ \int \frac {(h+i x)^3 (a+b \log (c (e+f x)))^2}{d e+d f x} \, dx=x^2\,\left (\frac {i^2\,\left (18\,a^2\,f\,h-5\,b^2\,e\,i+9\,b^2\,f\,h+6\,a\,b\,e\,i-18\,a\,b\,f\,h\right )}{12\,d\,f^2}-\frac {e\,i^3\,\left (9\,a^2-6\,a\,b+2\,b^2\right )}{18\,d\,f^2}\right )+{\ln \left (c\,\left (e+f\,x\right )\right )}^2\,\left (f\,\left (\frac {b^2\,i^3\,x^3}{3\,d\,f^2}-\frac {b^2\,i^2\,x^2\,\left (e\,i-3\,f\,h\right )}{2\,d\,f^3}+\frac {b^2\,i\,x\,\left (e^2\,i^2-3\,e\,f\,h\,i+3\,f^2\,h^2\right )}{d\,f^4}\right )+\frac {11\,b^2\,e^3\,i^3-27\,b^2\,e^2\,f\,h\,i^2+18\,b^2\,e\,f^2\,h^2\,i-6\,a\,b\,e^3\,i^3+18\,a\,b\,e^2\,f\,h\,i^2-18\,a\,b\,e\,f^2\,h^2\,i+6\,a\,b\,f^3\,h^3}{6\,d\,f^4}\right )+x\,\left (\frac {54\,a^2\,f^2\,h^2\,i-36\,a\,b\,e^2\,i^3+108\,a\,b\,e\,f\,h\,i^2-108\,a\,b\,f^2\,h^2\,i+66\,b^2\,e^2\,i^3-162\,b^2\,e\,f\,h\,i^2+108\,b^2\,f^2\,h^2\,i}{18\,d\,f^3}-\frac {e\,\left (\frac {i^2\,\left (18\,a^2\,f\,h-5\,b^2\,e\,i+9\,b^2\,f\,h+6\,a\,b\,e\,i-18\,a\,b\,f\,h\right )}{6\,d\,f^2}-\frac {e\,i^3\,\left (9\,a^2-6\,a\,b+2\,b^2\right )}{9\,d\,f^2}\right )}{f}\right )+f\,\ln \left (c\,\left (e+f\,x\right )\right )\,\left (\frac {x^2\,\left (5\,e\,b^2\,i^3-9\,f\,h\,b^2\,i^2-6\,a\,e\,b\,i^3+18\,a\,f\,h\,b\,i^2\right )}{6\,d\,f^3}-\frac {x\,\left (11\,b^2\,e^2\,i^3-27\,b^2\,e\,f\,h\,i^2+18\,b^2\,f^2\,h^2\,i-6\,a\,b\,e^2\,i^3+18\,a\,b\,e\,f\,h\,i^2-18\,a\,b\,f^2\,h^2\,i\right )}{3\,d\,f^4}+\frac {2\,b\,i^3\,x^3\,\left (3\,a-b\right )}{9\,d\,f^2}\right )-\frac {\ln \left (e+f\,x\right )\,\left (18\,a^2\,e^3\,i^3-54\,a^2\,e^2\,f\,h\,i^2+54\,a^2\,e\,f^2\,h^2\,i-18\,a^2\,f^3\,h^3-66\,a\,b\,e^3\,i^3+162\,a\,b\,e^2\,f\,h\,i^2-108\,a\,b\,e\,f^2\,h^2\,i+85\,b^2\,e^3\,i^3-189\,b^2\,e^2\,f\,h\,i^2+108\,b^2\,e\,f^2\,h^2\,i\right )}{18\,d\,f^4}+\frac {i^3\,x^3\,\left (9\,a^2-6\,a\,b+2\,b^2\right )}{27\,d\,f}-\frac {b^2\,{\ln \left (c\,\left (e+f\,x\right )\right )}^3\,\left (e^3\,i^3-3\,e^2\,f\,h\,i^2+3\,e\,f^2\,h^2\,i-f^3\,h^3\right )}{3\,d\,f^4} \]
[In]
[Out]